<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/manage/";
%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><title>
</title>
    <link href="<%= basePath%>lib/ligerUI/skins/Aqua/css/ligerui-all.css" rel="stylesheet" type="text/css" />
    <link href="<%= basePath%>addPageInit.css" rel="stylesheet" type="text/css" /> 
    <link rel="stylesheet" href="<%= basePath%>lib/kediter/themes/default/default.css" />
    <link href="<%= basePath%>lib/ligerUI/skins/Gray/css/all.css" rel="stylesheet" type="text/css" /> 
    <script src="<%= basePath%>lib/jquery/jquery-1.3.2.min.js" type="text/javascript"></script>
    <script src="<%=basePath%>lib/ligerUI/js/ligerui.all.js" type="text/javascript"></script> 
    <script src="<%= basePath%>lib/jquery-validation/jquery.validate.min.js" type="text/javascript"></script> 
    <script src="<%= basePath%>lib/jquery-validation/jquery.metadata.js" type="text/javascript"></script>
    <script src="<%= basePath%>lib/jquery-validation/messages_cn.js" type="text/javascript"></script>
	<script charset="utf-8" src="<%= basePath%>lib/kediter/kindeditor-min.js"></script>
	<script charset="utf-8" src="<%= basePath%>lib/kediter/lang/zh_CN.js"></script>
	<script src="<%= basePath%>addPageInit.js" type="text/javascript"></script>
</head>

<body style="padding:10px; margin-bottom: 10px;">

    <form name="form1" method="post" action="manageAddCart" id="form1">
        <table cellpadding="0" cellspacing="0" class="l-table-edit" >
            <tr>
                <td align="left" class="l-table-edit-td">订单ID:</td>
                <td align="left" class="l-table-edit-td">
                	<input name="order.id" type="hidden" value="${model.order.id}"/>${model.order.id}</td>
                <td align="left"></td>
            </tr>
             <tr>
                <td align="left" class="l-table-edit-td">评分:</td>
                <td align="left" colspan="2" class="l-table-edit-td"><input name="score" type="text" value="${model.score}" />
                </td>
            </tr>
            <tr>
                <td align="left" class="l-table-edit-td">购买数量:</td>
                <td align="left" colspan="2" class="l-table-edit-td">
                	<input name="num" type="text" value="${model.num}" />
                </td>
            </tr>
            <tr>
               <td align="left" class="l-table-edit-td">商品名称:</td>
               <td><input name="product.id" type="hidden" value="${model.product.id}" type="text" />${model.product.name}</td>
			   <td align="left"></td>
            </tr>
             <tr>
               <td align="left" class="l-table-edit-td">商品型号:</td>
               <td><input name="attrsString" type="hidden" value="${model.attrsString}" type="text" />${model.attrsName}</td>
			   <td align="left"></td>
            </tr>
            
            <tr>
               <td align="left" class="l-table-edit-td">匿名评论:</td>
			   <td align="left" class="l-table-edit-td"> 匿名评论<input type="radio" name="anonymous"  <s:if test="model.anonymous">checked</s:if> value="true">是
			   <input type="radio" name="anonymous" <s:if test="!model.anonymous">checked</s:if> value="false">否</td>
			   <td align="left"></td>
            </tr>
             <tr>
               <td align="left" class="l-table-edit-td">评论:</td>
			   <td align="left" class="l-table-edit-td"><textarea  name="comment" rows="10" cols="10" style="width:100%;text-align:left; height:80px;">${model.comment}</textarea></td>
			   <td align="left"></td>
            </tr>
            <tr>
               <td align="left" class="l-table-edit-td">标准:</td>
			   <td align="left" class="l-table-edit-td">
			   	<s:select name="flag" list="@cn.wegoteam.shop.enu.FlagType3@values()" listKey="name"
								listValue="name()" value="model.flag"/>
			  </td>
			   <td align="left"></td>
            </tr>
            
            
            
        </table>
        <div style="width:100%">
        </div>
 <br />
<input name="id" type="hidden" value="${model.id}" />
<div style="width:150px; margin:0px auto;">
<input type="submit" value="提交" id="Button1" class="l-button l-button-submit"  /> 
</div>
 </form>
</body>
</html>